# This file defines the URLs used for accessing information about different items and individual instances.  These urls link to the relevant "view" pages for each item and instance.

from django.conf.urls.defaults import *

urlpatterns = patterns('items.views',
                       (r'^(?P<item_id>\d+)/$', 'item_detail'),
                       (r'^(?P<item_id>\d+)/(?P<inst_id>\d+)/$', 'inst_detail'),
                       (r'^list/(?P<item_id>\d+)/$', 'item_inst_list'),
                       (r'^submit/$', 'xml_item_submit')
                       )
